package program.Condition;

import program.SExpression;
import roborally.Robot;

/**
 * A class representing a TRUE condition.
 * 
 * @author Jef Keijers/Bachelor of Science: Informatics
 * @version 1.0
 */
public class True extends Condition {

	/**
	 * This method returns always true.
	 */
	@Override
	public boolean execute(Robot robot) {
		return true;
	}
	
	/**
	 * This method returns the SExpression representation of true.
	 */
	@Override
	public SExpression toSExpression() {
		return this.makeSingletonSExpressionList("true");
	}
	
}
